package com.lglbc.mybatispluslearning.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
 * @author 乐哥
 * @description mall_order
 * @date 2022-07-17
 */
@Builder
@Data
@AllArgsConstructor
@TableName("mall_order")
public class MallOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    /**
     * id
     */
    private Long id;

    /**
     * 姓名
     */
    @TableField("name")
    private String name;

    /**
     * 手机号
     */
    private String mobile;

    /**
     * 地址
     */
    private String address;

    /**
     * 订单状态
     */
    private Integer orderStatus;

    /**
     * 删除
     */
    @TableLogic(value = "0",delval = "1")
    private int delFlag;

    public MallOrder() {
    }
}